﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Framework.Data;
using Framework.Data.SqlServer;

namespace Bepo.Model.Data
{
    public class BepoDB 
    {
        public static IDatabase Database
        {
            get
            {
                return new SqlServerDatabase(Core.DatabaseDirect.ToConnectionString());
            }
        }

        public static Table<SetupTaskRecord> Tasks = new Table<SetupTaskRecord>(Database, "SetupTask", "Id");
        public static Table<BusinessModelRecord> BusinessModels = new Table<BusinessModelRecord>(Database, "BusinessModel", "Id");
    }
}
